use axum::{
    body::Body,
    http::Request,
    middleware::{self, Next},
    response::Response,
};

// Validate token
async fn validate_token(req: Request<Body>, next: Next<Body>) -> Response {
    if let Some(token) = req.headers().get::<&str>("x-token") {}
    println!("Received a request to {}", req.uri());
    next.run(req).await
}